public class PlayerAIState_JumpBall : State<PlayerAI>
{
	public static PlayerAIState_JumpBall instance;

	private PlayerAIState_JumpBall()
	{
	}

	public static PlayerAIState_JumpBall getInstance()
	{
		if (instance == null)
		{
			instance = new PlayerAIState_JumpBall();
		}
		return instance;
	}

	public override void enter(PlayerAI owner)
	{
		base.enter(owner);
		owner.player.do_jumpball();
	}

	public override void fixedUpdate(PlayerAI owner)
	{
		base.fixedUpdate(owner);
		if (!owner.player.IsPlayingAnimation() && !Instance<Ball>.instance.isJumpBalled)
		{
			//if (!GameData.IsFinishTutorial && TutorialController.preTutorialType != TutorialType.Game_RealGame)
			//{
			//	owner.do_idle();
			//}
			//else
			//{
				owner.do_chase_ball();
			//
			//}
		}
	}
}
